@model ShivamEMR.Model.Domain.CompanyDomain.EmployeeSchedule

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Details</h2>

<fieldset>
    <legend>EmployeeSchedule</legend>

    <div class="display-label">ScheduleDate</div>
    <div class="display-field">@String.Format("{0:g}", Model.ScheduleDate)</div>

    <div class="display-label">StartTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.StartTime)</div>

    <div class="display-label">EndTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.EndTime)</div>

    <div class="display-label">Notes</div>
    <div class="display-field">@Model.Notes</div>

    <div class="display-label">EmployeID</div>
    <div class="display-field">@Model.EmployeID</div>

    <div class="display-label">Employee</div>
    <div class="display-field">@(Model.Employee == null ? "None" : Model.Employee.Title)</div>

    <div class="display-label">Venue</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Venue).ToString()</div>

    <div class="display-label">Schedule</div>
    <div class="display-field">@(Model.Schedule == null ? "None" : Model.Schedule.Title)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>


